package org.leeranotacionesdataclassg.generales ;

import java.io.Serializable;
import java.util.List;
import java.util.Locale;
import java.util.ResourceBundle;
/**
*
* @author avbravo
*/

public class Idiomas implements Serializable {
private static final long serialVersionUID = 1L;
public Idiomas() {
}
private static ResourceBundle resourceBundle;

public static ResourceBundle getResourceBundle() {
  return resourceBundle;
}

public static void setResourceBundle(ResourceBundle resourceBundle) {
  Idiomas.resourceBundle = resourceBundle;
}

public void CambiarIdioma(String idioma, String pais){
Locale locale = new Locale(idioma,  pais);
resourceBundle = ResourceBundle.getBundle("org/leeranotacionesdataclassg/properties/mensajes",locale);
}


}
